//
//  WHBottomView.swift
//  8.31-WH微博
//
//  Created by 吴涵 on 15/9/10.
//  Copyright © 2015年 wuhan. All rights reserved.
//

import UIKit

class WHBottomView: UIView {

    override init(frame: CGRect) {
        super.init(frame: frame)
        setUpUI()
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    private func setUpUI() {
        backgroundColor = UIColor(white: 0.95, alpha: 1.0)
        addSubview(forwardButton)
        addSubview(commonButton)
        addSubview(likeButton)
        
        ff_HorizontalTile([forwardButton,commonButton,likeButton], insets: UIEdgeInsetsZero)
    }
    
    private lazy var forwardButton: UIButton = UIButton(title: "转发", imageName: "timeline_icon_retweet", color: UIColor.darkGrayColor(), fontSize: 12)
    private lazy var commonButton: UIButton = UIButton(title: " 评论", imageName: "timeline_icon_comment", color: UIColor.darkGrayColor(), fontSize: 12)
    private lazy var likeButton: UIButton = UIButton(title: " 赞", imageName: "timeline_icon_unlike", color: UIColor.darkGrayColor(), fontSize: 12)
    
    
}
